package P4.T03;

import P3.T03.Comparator;

public class T03 {
    public static void main(String[] args) {
        Complex[] complexes=new Complex[]{
                new Complex(1,3),
                new Complex(5,1),
                new Complex(2,2),
                new Complex(2,8)
        };
        Util.Sort(complexes,new ModulusComporator());
        for (Complex complex : complexes) {
            System.out.println(complex);
        }
    }
}
